package org.kolonitsky.alexey.events
{
	import flash.events.Event;
	
	/**
	 *  Event for support work of MultiLoader class.
	 */
	public class MultiLoaderEvent extends Event
	{
		public static const PART_LOADED:String = "partLoaded";
		
		public var partId:String = "";
		
		public function MultiLoaderEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false, partId:String="")
		{
			super(type, bubbles, cancelable);
			this.partId = partId;
		}
		
		override public function clone():Event
		{
			return new MultiLoaderEvent(type, bubbles, cancelable, partId) as Event;
		}
	}
}